package com.cheng.im.service.group.model.req;

import com.cheng.im.service.common.model.RequestBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("IM全群禁言状态开关请求类")
public class MuteGroupReq extends RequestBase {

    @NotBlank(message = "groupId不能为空")
    @ApiModelProperty("群ID")
    private String groupId;

    @NotNull(message = "mute不能为空")
    @ApiModelProperty("是否全员禁言，0 不禁言；1 全员禁言。")
    private Integer mute;
}
